Volume with High/Low ColoringThe "Volume with High/Low Coloring" indicator is designed to help traders visually differentiate between high, low, and normal volume bars relative to recent historical averages. By applying dynamic color coding and customizable thresholds, this indicator enhances volume analysis and improves your ability to spot key moments of accumulation, distribution, or market inactivity.
High Volume: A bar is marked as high volume when it exceeds the average by a customizable multiplier (default is 1.5×) .
Low Volume: A bar is considered low volume when it falls below the average by another multiplier (default is 0.5×) .
Normal Volume: All bars that fall between the high and low thresholds.
Each category is displayed in a different user-selectable color, providing instant visual feedback for volume dynamics.
Customizable Colors:
High Volume: Light Green (default: semi-transparent green)
Low Volume: Light Blue (default: semi-transparent blue)
Normal Volume: Yellow (default: semi-transparent yellow)
Average Volume Line: Gray (optional reference line)
Pesquisar nos scripts por "high low"
Swing High Low Detector by RV5📄 Description
The Swing High Low Detector is a visual indicator that automatically detects and displays swing highs and swing lows on the chart. Swings are determined based on configurable strength parameters (number of bars before and after a high/low), allowing users to fine-tune the sensitivity of the swing points.
🔹 Current swing levels are shown as solid (or user-defined) lines that dynamically extend until broken.
🔹 Past swing levels are preserved as dashed/dotted lines once broken, allowing traders to see previous support/resistance zones.
🔹 Customizable line colors, styles, and thickness for both current and past levels.
This indicator is useful for:
Identifying key market structure turning points
Building breakout strategies
Spotting trend reversals and swing zones
⚙️ How to Use
1. Add the indicator to any chart on any timeframe.
2. Adjust the Swing Strength inputs to change how sensitive the detector is:
A higher value will filter out smaller moves.
A lower value will capture more frequent swing points.
3. Customize the line styles for visual preference.
Choose different colors, line styles (solid/dashed/dotted), and thickness for:
Current Swing Highs (SH)
Past Swing Highs
Current Swing Lows (SL)
Past Swing Lows
4. Observe:
As new swing highs/lows are detected, the indicator draws a new current level.
Once price breaks that level, the line is archived as a past level and a new current swing is drawn.
✅ Features
Fully customizable styling for all lines
Real-time updates and automatic level tracking
Supports all chart types and instruments
👨💻 Credits
Script logic and implementation by RV5. This script was developed as a tool to improve price action visualization and trading structure clarity. Not affiliated with any financial institution. Use responsibly.
Trading Session Highs and LowsTrading Session Highs and Lows
This script provides an intuitive way to visualize key market levels from major trading sessions: Asia, London, New York, and New York Close. By automatically plotting the high and low of each session, it helps traders quickly identify important price levels that could impact market behavior.
Features include:
Session Marking: The script marks the high and low for each major session (Asia, London, New York, and New York Close).
Customizable Lines and Labels: You can adjust the line style, width, and color for each session’s high/low markers. The session name (e.g., "London", "New York") and the PDH/PDL (Prior Day High and Low) are also shown to give clear context.
Real-Time Updates: The levels are updated in real-time to reflect the current price action, helping you gauge price movement throughout the trading day.
Customizable Indicators: Easily adjust the visibility of the different sessions and the labels to focus on the session that matters most to your trading strategy.
This tool is designed to help day traders spot important levels for potential breakouts or reversals, making it easier to base your trading decisions on well-established price points. Ideal for scalpers, swing traders, and anyone who trades across multiple sessions.
Equal High/Low (EQH/EQL) [AlgoAlpha]OVERVIEW
This script detects and visualizes Equal High (EQH) and Equal Low (EQL) zones—key liquidity areas where price has previously stalled or reversed. These levels often attract institutional interest due to the liquidity buildup around them. The indicator is built to highlight such zones using dynamic thresholding, overbought/oversold RSI filtering, and adaptive mitigation logic to manage zone relevance over time.
CONCEPTS
Equal Highs/Lows are price points where the market has repeatedly failed to break past a certain high or low, hinting at areas where stop orders and pending interest may be concentrated. These areas are often prime targets for liquidity grabs or reversals. By combining this with RSI filtering, the script avoids false signals during neutral conditions and instead focuses on zones where market pressure is more directional.
FEATURES
Detection Logic: The script identifies EQH and EQL zones by comparing the similarity between recent highs or lows with a dynamic volatility threshold. The `tolerance` input allows users to control how strict this comparison is.
RSI Filtering: If enabled, it only creates zones when RSI is significantly overbought or oversold (based on the `state_thresh` input). This helps ensure zones form only in meaningful market conditions.
Zone Display: Bullish (EQL) zones are shown in grey, while bearish (EQH) zones are in blue. Two horizontal lines mark the zone using wick and body extremes, and a filled area visualizes the zone between them.
Zone Management: Zones automatically extend with price until they’re invalidated. You can choose whether a zone is removed based on wick or body sweeps and whether it requires one or two candle confirmations. Zones also expire after a customizable number of bars.
Alerts: Four alert conditions are built in—when a new EQH/EQL is formed and when one is mitigated—making it easy to integrate into alert-based workflows.
USAGE
Equal highs/lows can be used as liquidity markers, either as entry points or as take-profit targets.
This tool is ideal for liquidity-based strategies and helps traders map out possible reversal or sweep zones that often precede aggressive moves.
London ORB + Session High/Low + FVGLondon ORB + Session High/Low + FVG
📘 Script Description: London ORB + Session High/Low + Fair Value Gap
This script is designed to assist intraday traders during the London session open by combining:
🕒 1. Opening Range Breakout (ORB)
Captures the high and low of the first 15-minute candle after the London open (08:00–08:15 GMT).
Draws lines and labels for the ORB High and Low levels.
Detects breakouts above or below the ORB and plots a triangle signal at the breakout bar.
🌐 2. Asian & US Session Levels
Automatically marks the highs and lows of the Asian (00:00–06:00 GMT) and US (13:30–20:00 GMT) sessions.
Useful for identifying prior session liquidity zones, key support/resistance levels, and potential reaction areas.
📉 3. Fair Value Gaps (FVG)
Highlights imbalances in price action between non-overlapping candles (also known as FVGs or inefficiencies).
Draws a shaded box between candles where gaps exist:
Green for bullish FVGs
Red for bearish FVGs
🔔 4. Alert Support
Optional alerts are built in for:
Long breakout (price breaks above ORB)
Short breakout (price breaks below ORB)
🎯 Use Case
Perfect for:
Day traders looking to capitalize on early volatility at the London open
Traders using liquidity-based strategies, retests, or gap-fills
Visualizing and aligning with prior session highs/lows for structure and context
Previous Week & Day High/LowPrevious Week & Day High/Low Indicator
The Previous Week & Day High/Low Indicator is designed to provide traders with key support and resistance levels based on historical price data. It automatically plots the previous day's and previous week's highs and lows as horizontal lines, offering a clear visual reference for potential breakout or reversal zones.
Features:
Clear Visual Levels: Displays previous day's highs and lows in green and red for easy identification.
Weekly Context: Plots previous week's highs and lows using distinct color-coded lines.
Real-Time Updates: Adjusts to new weekly and daily highs and lows as they are confirmed.
Labeled Lines: Each level is labeled directly on the chart, ensuring clarity without clutter.
Previous HTF Highs, Lows & Equilibriums [dani]Previous HTF Highs, Lows & Equilibriums
Indicator Description
This powerful and user-friendly indicator is designed to help traders visualize key levels from multiple higher timeframes directly on their chart. It plots the previous session's high, low, and equilibrium (EQ) levels for up to 4 customizable timeframes, allowing you to analyze price action across different time horizons simultaneously.
Key Features
Multi-Timeframe Support:
Choose up to 4 higher timeframes (e.g., 1H, 4H, 1D, 1W) to plot levels on your chart.
Each timeframe's levels are displayed with clear, customizable lines.
Previous Session Levels:
Plots the previous session's high, low, and EQ (EQ = (high + low) / 2) for each selected timeframe.
Levels are dynamically updated at the start of each new session.
Customizable Line Styles:
Choose between solid, dashed, or dotted lines for each level.
Customize colors for high, low, and EQ levels to suit your preferences.
Dynamic Labels:
Each level is labeled with the corresponding timeframe (e.g., "1D - H" for daily high, "4H - L" for 4-hour low).
Labels are positioned dynamically to avoid clutter and ensure readability.
Toggle On/Off:
Easily toggle the visibility of all levels with a single button, making it simple to declutter your chart when needed.
Compatible with All Markets:
Works seamlessly across all instruments (stocks, forex, crypto, futures, etc.) and timeframes.
How to Use?
Add the indicator to your chart.
Select up to 4 higher timeframes to plot levels.
Customize line styles and colors to match your trading style.
Use the levels as reference points for support/resistance, breakout zones, or confluence areas.
Toggle levels on/off as needed to keep your chart clean and focused.
Disclaimer & Chat
This indicator is not a trading signal generator. It does not predict market direction or provide buy/sell signals. Instead, it is a tool to help you visualize key levels from higher timeframes, enabling you to make more informed trading decisions. Always combine this tool with your own analysis, risk management, and trading strategy.
Thank you for choosing this indicator! I hope it becomes a valuable part of your trading toolkit. Remember, trading is a journey, and having the right tools can make all the difference. Whether you're a seasoned trader or just starting out, this indicator is designed to help you stay organized and focused on what matters most—price action. Happy trading, and may your charts be ever in your favor! 😊
From, Dani.
52-Week & 5-Year High/Low with DatesThis indicator is designed to help traders quickly identify key price levels and their historical context by displaying the 52-week high/low and 5-year high/low prices along with their respective dates. It provides a clear visual representation of these levels directly on the chart and in a dashboard table for easy reference.
Key Features
52-Week High/Low:
Displays the highest and lowest prices over the last 252 trading days (approximately 52 weeks).
Includes the exact date when these levels were reached.
5-Year High/Low:
Displays the highest and lowest prices over the last 1260 trading days (approximately 5 years).
Includes the exact date when these levels were reached.
Visual Labels:
High and low levels are marked on the chart with labels that include the price and date.
Dashboard Table:
A table in the top-right corner of the chart summarizes the 52-week and 5-year high/low prices and their dates for quick reference.
Customizable Date Format:
Dates are displayed in the YYYY-MM-DD format for clarity and consistency.
Session High/Low Average & Range [1CG]The Session High/Low Average & Range indicator independently measures the average price movement from the opening price in each direction. It also displays the maximum high and low distance, called Range. Separating the averages and range into highs and lows helps analyze the volatility of the market as well as the direction.
USE EXAMPLES
Session Open
Session Close
Customization
Minimal - 1x and 2x Averages are replaced with custom lines, in order to show distance to3x.
Calculations
Average High: (high price of session - session opening price) / (session period)
Average Low: (session opening price - low price of session) / (session period)
Range High: The highest price of the last (session period)
Range Low: The lowest price of the last (session period)
INPUTS
Session
Here you can choose the hours for your session and time zone. The default is London session in New York time. Next, the session period determines how many sessions to sample from for the average and range lines, the default is 20. Lastly, you can choose the number of sessions to appear on the chart not including the current session if you are in one, 5 by default.
Lines
All of the lines allow you to change the color, width, and style. They also have a label option to choose to display the price. The bottom of the section allows you to change the location and size of the label text.
**Open Line** -Displays the opening price for the length of the session.
**Average Lines** - Displays the 1x, 2x, and 3x the average distance from open in each direction. Additionally, you can toggle a background color to highlight the area.
**Custom Lines** - Displays a customizable multiple of either the average or range. By default the first custom line displays the Range at a 1x multiplier and the second line displays an Average at a 1.5x multiplier
Display Distance
Here you can choose to display the distance from the lines to the open. This data is marked with a “Δ”. For the three Average lines this will display in the area between the line and the open in the position and size of your choice. The custom lines will have the distance information displayed on the line itself. This helps keep the data organized.
Break of High/Low with Volume, MACD, and MAsHow It Works:
Sessions:
The London session is defined between 8:00 and 16:00 UTC.
The New York session is defined between 13:00 and 21:00 UTC.
Previous High/Low:
The script identifies the highest high and lowest low from the previous bar using ta.highest(high, 1) and ta.lowest(low, 1) .
Candle Body Size:
The script calculates the size of the current candle's body and checks if it is at least double the size of the previous candle's body.
Volume Check:
A high volume threshold is set as 1.5 times the 50-period SMA of the volume.
MACD Crossover:
The script calculates the MACD and its signal line and checks for bullish (buy) or bearish (sell) crossovers.
Signals:
A long signal (buy) is generated if the price breaks the previous high with a large body candle, high volume, and a bullish MACD crossover during the specified sessions.
A short signal (sell) is generated if the price breaks the previous low with a large body candle, high volume, and a bearish MACD crossover during the specified sessions.
Plotting:
The 50-period and 200-period moving averages, previous high, and previous low are plotted on the chart.
If a long condition is met, a "BUY" label is displayed below the bar. If a short condition is met, a "SELL" label is displayed above the bar.
Alerts:
Alerts are triggered whenever the conditions for a long or short trade are met.
Customization:
Feel free to adjust the session times, volume threshold, MACD settings, or moving averages based on your trading strategy or the specific asset you are trading.
Session High Low
This indicator shows Session High Low line and prices.
1: Session range is adjustable based on your timeframe. Nomore confusing timezone settings.
You can choose your timezone then set your Session start and end time.
Script will show you the following session high and low lines which is extendable until next session.
2: All historical lines and price levels are can be partially or fully hidden.
And line colors are adjustable so you can use suitable color on your chart.
Based on session you choose this script can be used as a session break strategy AKA (Asian session break, London session break strategy).
You can create your own trading Session and high lows.
Personally I monitor how price reacts on London session high lows during the NewYork trading session.
In this chart Session starts at 8am (London open) and closes at 12:30 (NewYork open). Script is showing high lows only in this session range.
Always double confirm with your trading style. It's not a Financial advice.
Inputs:
1: Hide history - Hides all historical lines and prices that means you can see only todays session.
2: Show price - Shows price level of session high lows. You can hide price level if you want to see only lines.
3: Session time - You can set your time range of session.
4: Start time - Session start time. You can see vertical line on your chart or you can hide line.
5: End time - Session end time. You can see vertical line on your chart or you can hide line.
6: Line extend time - End of the high low lines. You can draw line until the end of the session or you can draw short line.
7: All line and price colors are optional.
Thank you.
Donchian Channel - Pivot High-LowCombining Pivot High Low and Donchian Channel - both of which are useful indicators for trend following.
Donchian Channel shows highest and lowest prices for X number of bars.
Pivot High-Low identifies when price made new Highs and Lows
Applying Donchian Channel on Pivot High-Low channel, we are plotting highest and lowest pivots formed in X bars.
In this indicator, we have 3 options for Channel Base :
Price : This is regular Donchian channel based on High-Low Price
Pivots : This is Donchian channel based on pivot points.
Combined : Combines both. Takes highest of Price and Pivots for plotting high, lowest of Price and Pivots for plotting low
Previous Day High Low [NLB]Hello Everyone Its Previous Day High Low Indicator but advance and many of features.
How to work its indicator?
➤ Its Previous day high low indicator if Previous day high break when Long signal if Previous day Low break when Short signal & you can also add buffer with Previous day high or Low
Indicator Feature
➤ Long Signal with Alert
➤ Short Long Signal with Alert
➤ Take Profit with Alerts calculate by Previous day high or low by default 1 percent you can also change values
➤ Trailing Stop Loss with Alerts
➤ Previous Day High or Low Buffer
➤ Take Profit, Buffer, Trailing Stop Loss Value You can also choose Percentage or Point by default percent
Important: This Indicator we are using for Automation Trading if You Want This Indicator Access Please Contact me PM on Tradingview
Session High and Session LowI have heard many people ask for a script that will identify the high and low of a specific session. So, I made one.
Important Note: This indicator has to be set up properly or you will get an error. Important things to note are the length of the range and the session definition. The idea is that you would set it up for what's relevant to your trading. Going too far back in the chart history will cause errors. Setting the session for a time that is not on the chart can cause errors. If you set it to look farther back than there are bars to display, you may get an error. What I've found is that if you get an error, you just need to change the settings to reflect available data and it will be able to compile the script. At the time of its publishing, the default range start is set to 10/01/2020. If you're looking at this years later, you'll probably have to set the range to something more recent.
Features:
Plot or Lines:
Using Plot (displayed), the indicator will track the high/low from the end of the session into the next session. Then at the start of the next session, it will start tracking the high/low of that session until its end, then track that high/low until the start of the next session then reset.
Using lines, it will extend horizontal lines to the right indefinitely. The number of sessions back that the lines apply to is a user-defined number of sessions. There are limits to the number of lines that can be cast on a chart (roughly 40-50). So, the maximum number of sessions you can apply the lines to is the last 21 sessions (42 lines total). That gets really noisy though so I can't imagine that is a limiting factor.
Colors:
You can change the background color and its transparency, as well as turn the background color on or off.
You can change the highs and lows colors
You can adjust the line width to your preference
Session Length:
You can use a continuous session covering any user-defined period (provided its not tooooo many candles back)
You can define the session length for intraday
You can exclude weekends
Display Options:
You can adjust the colors, transparency, and linewidth
You can display the plotline or horizontal lines
You can show/hide the background color.
You can change how many sessions back the horizontal lines will track
Let me know if there's anything this script is missing or if you run into any issues that I might be able to help resolve.
Here's what it looks like with Lines for the last 5 sessions and different background color.
[RD] high / low lines pv4 v1==================================================================
July 7 2019 - high / low lines pv4 v1 - by RootDuk
==================================================================
Easy script to draw some lines on the input variable barsback.
You can extend the lines on the sides: left, right, both or none.
With the show variables (bools) you can show or hide the lines
Lines: high to high, low to low, high to low or low to high
Easy way to find support / resistance based on the past with
extended lines. Cheers and enjoy
===================================================================
Notes
===================================================================
Hope TV (pinescript) will get color inputs for line or a type color so we can
easily create inputs for colors for lines. Now its static. If someone knows
another way, pls let me know, i'll integrate it
===================================================================
Updates
===================================================================
Non so far v1
GoldenJet - First Candle High/LowThe "First Candle High/Low" indicator is a custom intraday trading tool designed for use on intraday charts (e.g., 1-minute, 5-minute, 15-minute). It automatically marks the high and low of the first completed candle of the trading day using horizontal dashed lines. These lines are extended visually across the chart until the end of the day, allowing traders to reference them easily throughout the session.
The first candle of the day is identified by detecting a new calendar day.
The high and low from that candle are stored and used as key levels.
The levels are displayed as horizontal lines from the first candle's time up to day end
✅ Benefits of This Indicator for Intraday Traders
Establishes Key Reference Points Early:
The high and low of the first candle often act as early indicators of intraday support and resistance.
Helps identify the day's potential range and momentum.
Improves Trade Planning:
You can use the levels to set breakout or reversal entries.
Helps in defining stop-loss and take-profit zones based on these levels.
Supports Multiple Strategies:
Useful in breakout trading, where a break above the first candle high might indicate bullish momentum.
Helpful in mean-reversion or range trading, where price bouncing between high and low can be exploited.
Enhances Risk Management:
By marking predefined levels, you avoid emotionally-driven entries.
Lines provide a clear visual cue for when to act or wait.
Works Across Markets and Instruments:
Applicable to stocks, indices, futures, forex, and crypto — anywhere intraday price action matters.
First 5 Minutes Open/Close LinesThis very simple indicator paints lines at the high and low of the first 5m candle of the session. It is primarily intended for big cap NYSE traded stocks with high volume. I wrote this indicator to save me the trouble of manually drawing the lines each day.
The lines drawn at the 5m high/low will remain constant regardless of which timeframe you switch to. In the example screenshot, we are looking at the 1m timeframe. This helps us switch effortlessly between different timeframes to see if a given price movement meets our entry criteria.
In addition to drawing lines at the first 5m high/low, it will optionally paint two zones, one each around the high and low. The boundaries of this zone are configurable and expressed as a percentage of the total movement of the first 5m bar. By default, it is set to 25%.
This indicator is based on the concept that the first 5m bar always has massive volume which helps us infer that price may react around the extremes of that movement. The basic strategy works something like this:
- You identify the high timeframe (HTF) trend direction of the stock
- You wait for the first 5m candle of the session to close
- You wait for price to puncture through the outer boundary of the zone marked by the indicator.
- You enter when price retraces to the high, or low, which marks the midpoint of the punctured zone.
- Only enter long on stocks in a HTF uptrend, and short on stocks in an HTF downtrend.
- Use market structure to identify stop loss and take profit targets
Note: Use at your own risk. This indicator and the strategy described herein are not in any way financial advice, nor does the author of this script make any claims about the effectiveness of this strategy, which may depend highly on the discretion and skill of the trader executing it, among many other factors outside of the author's control. The author of this script accepts no liability, and is not responsible for any trading decisions that you may or may not make as a result of this indicator. You should expect to lose money if using this indicator.
First Candle High Low LevelsDescription
The "First Candle High Low Levels" Pine Script indicator is designed to highlight the high and low levels of the first candle of the day on your TradingView chart. It works across different timeframes and specifically handles the Indian stock market trading hours (9:15 AM to 3:30 PM IST). The script draws a box from the start to the end of the trading session, visually marking the price range defined by the first candle of the day. Traders can customize the box's border color, fill color, and line width.
Features
Customizable Timeframe: Users can select the desired timeframe for the first candle (e.g., 5-minute, 15-minute, etc.).
Custom Box Appearance: Options to adjust the border color, fill color, and line width of the drawn box.
Auto Reset for Each New Day: The high and low of the first candle are reset daily to mark the start of the next trading day.
Accurate Market Session Handling: The box is drawn from the start of the first candle to the end of the trading session (3:30 PM IST).
Usage
Adding to Chart: Apply the script by copying it into the Pine Script editor in TradingView. Once added, the script will automatically draw a box representing the high and low of the first candle of the day.
Select Timeframe: You can adjust the First Candle Timeframe input to define which timeframe candle will be used for marking the high and low. For example, if you choose a 5-minute timeframe, the high and low of the first 5-minute candle will be used.
Customization:
Adjust the Border Color and Box Fill Color through the input settings to match your chart's style.
Modify the Box Line Width to make the box lines more or less prominent.
Rolling Straddle with swing High/Low [Bluechip Algos]The Rolling Straddle and Strangle indicator is designed for options traders, particularly those trading in Indian indices such as NIFTY, BANKNIFTY, and others. This script not only allows users to analyze rolling straddle and strangle strategies by plotting various metrics but also has several indicators to apply on top of straddle/strangle charts. Especially indicators like swing high/low and ATR stop loss help you identify potential entry and exit points respectively.
About the Indicator
This indicator plots rolling straddles and strangles based on the selected symbol, strike prices, and expiry dates. Users can choose between analyzing single or multiple charts, and the script dynamically adjusts for different symbols, including NIFTY, BANKNIFTY, and other indices. Additionally, it incorporates several popular technical indicators to assist in decision-making.
Features
Dynamic Strike Price Calculation: Automatically adjusts strike prices based on the selected symbol and ATM (At-The-Money) reference.
Straddle and Strangle Analysis: Offers both rolling straddle and rolling strangle options, providing detailed views of option prices.
Table Plotting: Displays a table with the strike prices and corresponding CE (Call) and PE (Put) prices, including combined values.
Integrated Indicators: Includes customizable indicators such as Swing High/Low levels, ATR Stop Loss, Moving Averages, SuperTrend, and VWAP each designed to enhance strategy analysis.
Understanding the Indicator
1. Swing High/Low Levels
Purpose: This indicator identifies swing highs and lows in the price data, which are key levels that traders often use for placing stop-loss orders or for identifying potential reversal points.
Parameters:
Swing Length: The number of bars before and after the current bar that must be lower/higher to confirm a swing high/low.
How It Works: The indicator marks the highest high and lowest low over the specified period, helping traders to identify key support and resistance levels.
2. ATR Stop Loss
Purpose: The ATR Stop Loss is used to determine a dynamic stop-loss level based on the volatility of the asset. It adjusts the stop-loss level as the market conditions change.
Parameters:
ATR Period: The number of periods over which the ATR is calculated.
Multiplier: Factor used to adjust the stop-loss distance from the current price.
How It Works: The stop-loss level is adjusted dynamically based on the ATR value, providing protection against large, unexpected moves.
3. Moving Average (MA)
Purpose: The Moving Average is used to smooth out price data, providing a clearer view of the price trend over time. It is particularly useful for identifying the direction of the trend.
Parameters:
MA Source: The data series used for calculating the Moving Average (e.g., Close price).
MA Length: The number of periods over which the Moving Average is calculated.
MA Smoothing: The method used for smoothing the data, such as SMA (Simple Moving Average), EMA (Exponential Moving Average), WMA (Weighted Moving Average), or RMA (Running Moving Average).
4. SuperTrend
Purpose: The SuperTrend indicator is a trend-following indicator that helps traders identify the prevailing trend. It is based on the ATR (Average True Range) and provides clear buy/sell signals.
Parameters:
Factor: Multiplier applied to the ATR to calculate the upper and lower bands.
ATR Period: The period over which the ATR is calculated.
How It Works: When the price is above the SuperTrend line, it indicates a bullish trend, and when the price is below, it indicates a bearish trend.
5. VWAP (Volume Weighted Average Price)
Purpose: VWAP is a trading benchmark used by traders that gives the average price a security has traded at throughout the day, based on both volume and price. It is often used to determine the general direction of the market and as a basis for intraday trading strategies.
How It Works: VWAP calculates the cumulative price-volume divided by the cumulative volume over a specified period, providing a weighted average price that is more reflective of true market activity.
Input Parameters
Chart Type: Select between "Rolling Straddle" and "Rolling Strangle."
Symbol Selection: Choose from NIFTY, BANKNIFTY, MIDCAP, FINNIFTY, SENSEX, BANKEX, or a custom symbol.
Strike Interval: Customize strike intervals for different indices.
Expiry Date: Select the option expiry date.
Table Settings: Configure the table's position and colors for better visibility.
Indicator Settings: Customize each indicator’s parameters to suit your trading strategy, including lengths, smoothing methods, and colors.
Liquidity Raids and Sweeps by TexmoonbeamLiquidity is a vital concept in trading. It gives us an indication of where buy / sell orders are in the market, and the direction price is likely to move once this liquidity has been taken.
The purpose of this indicator is to show you when and where there has been a 'raid' or 'sweep' of this liquidity, meaning a reversal might occur.
The indicator does this by looking for candle wicks, that go beyond a previous pivot high or low.
Settings:
Timeframe – This settings changes the timeframe that the indicator looks for raids/sweeps. Higher timeframes generally mean stronger moves.
Left bars – the number of bars gap higher/lower to the left of a pivot low/high. A higher number means the high or low was formed from a stronger move.
Right bars – the number of bars gap higher/lower to the right of a pivot low/high. A higher number means the high or low started a stronger move.
Max Gap – the maximum number of candles between a raid or sweep. Reduce this number on higher time frames if there are memory errors.
Min Gap – the minimum number of candles between a raid or sweep.
Alerts Wait For Close – If ticked, this means an alert will not be triggered by the current candle wick, overlapping a previous, until the close of that candle. Unticked you will be alerted as soon as the current candle crosses a previous high/low, though it might close far beyond that point and not actually turn out to be a raid/sweep.
Buy Side/Sell Side – line style and colour preferences for buy and sell side.
Strategy:
As seen in the example chart, the raid/sweep of liquidity, where only a wick reaches beyond a previous high or low, can be followed by a reversal of direction, often to seek other liquidity targets. This indicator could provide an opportunity to enter a trade at this point and the alert feature means you will be able to set up custom alerts on multiple charts or timeframes.
You should use other confluence and a lower time frame confirmation after a raid/sweep, to identify your entry, stop loss and targets. Familiarity with liquidity and smart money concepts are recommended.
Swing High/Low Indicator w/ MACD and HTF EMA'sSwing High/Low Indicator w/ MACD and EMA Confirmations by KaizenTraderB
I designed this indicator to be used with a market structure break strategy.
It labels swing highs and lows that are confirmed by the MACD.
It also displays a higher timeframe Fast and Slow EMA to determine directional bias.
Also provides alerts that signal Swing Low breaks in downtrends and Swing High Breaks in uptrends.
It draws a horizontal line on the last Swing High and Low.
Display this indicator on your entry timeframe and choose your Higher Timeframe in settings.
You can also change lookback period for Swing Highs and Lows and EMA's.
When I use this I am looking for the Swing High/Low break in direction of HTF Trend
Then look for pullback between price level of break and areas of liquidity (wicks, order blocks, price congestion) for entry in direction of EMA trend.
Realtime All-Time High and All-Time Low Tracker [WIP]This is a study intended to port the work of /u/QuantNomad's "Kozlod - All-time high/low alerts" to pine version 4 without giving any alerts. It is intended to capture the most extreme points on any given price chart in real time, the absolute high and absolute low points. Ideally, the plotted lines would strictly diverge from one another in opposite directions and widen with new highs or lows on a hypothetical "all-time" resolution.
Most of the original code was replaced and I'm trying to resolve a bug where the script fails to register new highs or lows while at the same time making sure that earlier data is plotted correctly. If applied to an asset that has not yet recovered , is just too new, or has not achieved a lower low than its opening price, this indicator ceases to function correctly. This would not be an issue if pine script was more general purpose and had something similar to Python's max(list) function.
Any and all suggestions are welcome. This is simply to serve as a springboard for any programmers trying to design algorithms or strategies that use these variables on any price chart.
Happy Hunting!
- Patch Hemlock
First 15 Min High/Low//@version=5
indicator("First 15 Min High/Low", overlay=true)
// Define the session start time (adjust according to your market)
startHour = 9
startMinute = 30
endMinute = startMinute + 15
// Track the first 15 minutes of the day
isFirst15 = (hour == startHour and minute >= startMinute and minute < endMinute)
// New day logic
newDay = ta.change(time("D"))
// Hold values
var float first15High = na
var float first15Low = na
var bool isLocked = false
// Capture high/low during first 15 min
if newDay
first15High := na
first15Low := na
isLocked := false
if isFirst15 and not isLocked
first15High := na(first15High) ? high : math.max(high, first15High)
first15Low := na(first15Low) ? low : math.min(low, first15Low)
if not isFirst15 and not isLocked and not na(first15High) and not na(first15Low)
isLocked := true
// Plot
plot(isLocked ? first15High : na, title="First 15 Min High", color=color.green, linewidth=2, style=plot.style_line)
plot(isLocked ? first15Low : na, title="First 15 Min Low", color=color.red, linewidth=2, style=plot.style_line)
TBL HTF Highs&LowsThis script plots the previous Daily, Weekly, and Monthly High and Low levels directly on your chart, helping you identify key higher-timeframe support and resistance zones.
Features:
Daily, Weekly, Monthly Lines: Toggle visibility for each timeframe's high/low levels.
Customization Options:
Choose color, style (Solid, Dashed, Dotted), width, and transparency for each line type.
Automatic Updates: Lines update at the start of each new session (day, week, or month).
Summary Table: Displays the latest Pre-Daily High/Low (PDH/PDL), Pre-Weekly High/Low (PWH/PWL), and Pre-Monthly High/Low (PMH/PML) in the top-right corner of the chart.
Configurable Table Font Size: Choose between Tiny, Small, Medium, or Large text.
Use Case:
Ideal for traders who rely on key higher-timeframe levels for confluence, breakout trading, or mean-reversion strategies. The visual lines and summary table provide instant context without cluttering your chart.